package com.zyp.command;

/**
 * 
 * 调度类：要求执行该命令的请求
 *
 */
public class Invoker {

	private ICommand command;

	public void setCommand(ICommand command) {
		this.command = command;
	}
	
	
	public void executeCommand(){
		command.execute();
	}
	
	
}
